package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 存证单群组信息
 * </p>
 *
 * @author jiayen
 * @since 2021-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_certificate_group")
@ApiModel(value = "CertificateGroup对象", description = "存证单群组信息 ")
public class CertificateGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "群组名称")
    @TableField("vcGroupName")
    private String groupName;

    @ApiModelProperty(value = "创建人id")
    @TableField("intCreateBy")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("dtCreateTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("dtUpdateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "0-需求单群组，1：确认单群组")
    @TableField("intType")
    private Integer type;

    @ApiModelProperty(value = "项目id")
    @TableField("intItemId")
    private Integer  itemId;


}
